package com.example.manager.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.example.manager.entity.Employees;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fwy
 * @since 2024-07-18
 */
@Mapper
public interface EmployeesMapper extends BaseMapper<Employees> {

    IPage pageC(IPage<Employees> page);

    IPage pageCC(IPage<Employees> page, @Param(Constants.WRAPPER) Wrapper wrapper);

    List<Employees> selectAll();

}
